import './index.scss'
import { lazy, Suspense } from 'react'
import { IndexedDBClear } from '../Utils/IndexedDB'

const LoadSvg = lazy(() => import('../View/Loading/LoadSvg'))
const LoginA02 = lazy(() => import('../View/Login/LoginA02'))
const SignA01 = lazy(() => import('../View/SignUp/SignA01'))

const index = () => {
    IndexedDBClear()
    return (
        <div className='LoginPage'>
            <Suspense fallback={<LoadSvg />}>
                <LoginA02 SignBox={SignA01} btnText='登录' />
            </Suspense>
        </div>
    );
};

export default index;